
import 'package:furaha_mkopo/net/fm_http_model.dart';

class FMInitModel extends FMHttpModel {

  int? witnesses;
  int? halbert;
  int? wanted;
  String? dogsx;
  int? lang;
  FMInitThrongedModel? thronged;

  FMInitModel({
    this.witnesses,
    this.thronged,
    this.halbert,
    this.wanted,
    this.dogsx,
    this.lang
  });

  @override
  FMInitModel fromJson(Map<String, dynamic> json) {
    FMInitModel model = FMInitModel(
      witnesses: json["witnesses"],
      halbert: json["halbert"],
      dogsx: json["dogsx"],
      wanted: json["wanted"],
      lang: json["lang"],
      thronged: FMInitThrongedModel.fromJson(json["thronged"])
    );
    return model;
  }
}

class FMInitThrongedModel {
  String? embrace;
  String? fond;
  String? drew;
  String? smiled;

  FMInitThrongedModel({
    this.embrace,
    this.fond,
    this.drew,
    this.smiled
  });

  FMInitThrongedModel.fromJson(Map<String, dynamic> json) {
    embrace = json["embrace"];
    fond = json["fond"];
    drew = json["drew"];
    smiled = json["smiled"];
  }
}